package com.xquant.pricing.calc.service.impl.otcOption.split;

import com.xquant.common.core.constant.DictConstant;
import com.xquant.pricing.calc.entity.CalcEngineParam4Simple;
import com.xquant.common.engine.xPP.request.CalcEngineParam;
import org.springframework.stereotype.Component;

/**
 * 功能说明：双层二元期权
 * 编写作者：botao.yu
 * 开发日期：2021/11/8 18:43
 * 修改记录：修改日期   修改人    修改内容
 */
@Component
public class CalcCommonService4OtcOptionSplit4DoubleDigital implements CalcCommonService4OtcOptionSplit {

    @Override
    public CalcEngineParam split(CalcEngineParam4Simple sourceCalcEngineParam) {
//        System.out.println("调用DoubleDigtal成功sourceCalcEngineParam = " + sourceCalcEngineParam);
        return null;
    }

    @Override
    public CalcEngineParam split(CalcEngineParam sourceCalcEngineParam) {
        return null;
    }

    @Override
    public String getSplitCode() {
        return DictConstant.OPTION_TYPE.DOUBLE_DIGITAL.getCode();
    }


}
